package com.awei.study.interview.lock;

import java.util.concurrent.Semaphore;

/**
 * @Author liweilong
 * @Date 2024/11/27 21:38
 */
public class SemaphoreTest {
    public static void main(String[] args) throws InterruptedException {
        Semaphore sm = new Semaphore(5);
        sm.acquire();
        sm.release();
    }
}
